<include file="../header" title="gallery" />

<section id="photo" class="bbww">
	<hgroup class="hd">
		<h1>{$albumname}</h1>
	</hgroup>
	<div class="bd">
		<div class="navi">
			<table width="100%" border="0">
				<tr>
					<td><a href="{$back_href}">{:L('back-to-album')}</a></td>
					<td class="middle">
						<if condition="$prev_page"><a href="{$prev_page}#photo" title="{:L('prev-page')}"><</a></if>
						&#160;&#160;
						<if condition="$next_page"><a href="{$next_page}#photo" title="{:L('next-page')}">></a></if>
					</td>
					<td class="right">
						<a href="/Uploads/galleries/{$photo_src}" target="_blank">{:L('ori-size')}</a>
					</td>
				</tr>
			</table>
		</div>
		<div class="main">
			<if condition="$next_page">
				<a href="{$next_page}#photo">
					<img src="/Uploads/galleries/{$photo_src}" />
				</a>
			<else/>
				<img src="/Uploads/galleries/{$photo_src}" />
			</if>
		</div>	
	</div>
</section>

<include file="../footer" />